<!DOCTYPE html>
<html>
<head>
  <title>Col tag</title>
  <style type="text/css">
    .j{
      text-align: right;
    }
  </style>
</head>
<body>
<h2>Example of Col Tag</h2>
<table border="1">
 <colgroup>
    <col  span="2" style="background-color:#7fffd4">
    <col span="2" style="background-color:	#98f5ff;margin:0 0 3px 0
">
  </colgroup>
  <tr>
    <th align="left">Roll No.</th>
    <th align="center">Name</th>
    <th>Maths</th>
    <th class="j">Science</th>
  </tr>
  <tr>
    <td>1</td>
    <td>Avinash</td>
    <td>68</td>
    <td class="j">54</td>
  </tr>
  <tr>
    <td>2</td>
    <td>Neha</td>
    <td>65</td>
    <td>61</td>
  </tr>
  <tr>
    <td>3</td>
    <td>Jenny</td>
    <td>55</td>
    <td>78</td>
  </tr>
  <tr>
    <td>4</td>
    <td>Vivek</td>
    <td>75</td>
    <td>52</td>
  </tr>
</table>
</body>
</html>